home *** CD-ROM | disk | FTP | other *** search
- @echo off
- echo WinCard Installation
- if "%1==" goto Helpinst
- for %%f in (C:, c:, D:, d:, e:, E:, f:, F: ) do if %1.==%%f. goto START
- goto Helpinst
- :START
- echo WinCard will be installed on drive %1,
- yn Y N 16 Continue (Y/N) ?
- if ERRORLEVEL 1 goto END
- echo proceeding...
- if not exist %1\wincard\wincard.exe goto MKIT
- echo %1\wincard\wincard.exe already exist
- yn Y N 17 overwrite (Y/N) ?
- if ERRORLEVEL 1 goto END
- goto DOIT
- :MKIT
- mkdir %1\wincard
- :DOIT
- echo Copying files to %1\wincard
- echo copying wincard.exe %1\wincard...
- copy wincard.exe %1\wincard > NUL
- echo copying wincard.hlp %1\wincard...
- copy wincard.hlp %1\wincard > NUL
- echo copying cards1.db %1\wincard...
- copy cards1.db %1\wincard > NUL
- echo copying cards2.db %1\wincard...
- copy cards2.db %1\wincard > NUL
- echo copying cards1.idx %1\wincard...
- copy cards1.idx %1\wincard > NUL
- echo copying cards2.idx %1\wincard...
- copy cards2.idx %1\wincard > NUL
- echo copying pitcher.bmp %1\wincard...
- copy pitcher.bmp %1\wincard > NUL
- echo copying stats.bmp %1\wincard...
- copy stats.bmp %1\wincard > NUL
- echo WinCard installation complete.
- echo You should add WinCard to your program group now.
- pause
- goto END
- :Helpinst
- echo Run install with the drive/directory you want to
- echo install WinCard to, ie. "install C:".
- :END
-
-